#ifndef HOMEVIEW_H
#define HOMEVIEW_H

#include <QFrame>

QT_BEGIN_NAMESPACE
class QStackedLayout;
QT_END_NAMESPACE

class LoginView;
class RegisterView;

class HomeView : public QFrame
{
    Q_OBJECT
public:
    explicit HomeView(QWidget* parent = nullptr);

    void registerUser();

signals:
    void finished();

private:
    QStackedLayout* stacked_layout_;
    LoginView* login_view_;
    RegisterView* register_view_;
};

#endif // HOMEVIEW_H
